package com.xb.loan.cashier.biz.dao;


import com.xb.loan.cashier.biz.dao.bean.CashierPayChannelType;
import com.xb.loan.util.mybatis.MyBatisRepository;

import java.util.List;
import java.util.Map;

@MyBatisRepository
public interface CashierPayChannelTypeDao {
	int deleteByPrimaryKey(int paychannelType);

	int insert(CashierPayChannelType record);

	int insertSelective(CashierPayChannelType record);

	CashierPayChannelType selectByPrimaryKey(int paychannelType);

	int updateByPrimaryKeySelective(CashierPayChannelType record);

	int updateByPrimaryKey(CashierPayChannelType record);

    /**
     * 根据渠道类型获取
     * @param paychannelType
     * @return
     */
    CashierPayChannelType getByPaychannelType(int paychannelType);
    List<CashierPayChannelType> selectAll();
	public List<Map<String, Object>> queryPayChannelTypeByPage(Map<String, Object> params);
	public int queryPayChannelTypeCount();
    
}